package com.yc.sssmpg.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.yc.sssmpg.dto.ProductDto;
import com.yc.sssmpg.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 6521825@qq.com
 * @since 2022-11-23
 */
public interface ProductMapper extends BaseMapper<Product> {

    @Select("select * from t_product  ${ew.customSqlSegment}")
    IPage<ProductDto> listVoXxx(IPage<ProductDto> page, @Param(Constants.WRAPPER) QueryWrapper<ProductDto> queryWrapper, @Param("status") int status);


}
